// Copyright 2010 Alexandre Tristan St-Cyr <tristan.stcyr@gmail.com>

module Java.Class
{
	type AccessType : Integer8 where value >= 0 && value <= 3;
	
    AccessName(access : AccessType) : Text
    {
        (access == 0) ? "public" :
        (access == 1) ? "protected" :
        (access == 2) ? "private" : 
        (access == 3) ? "default" : ""
    }
    
}